<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<title>账户安全</title>
		<link rel="stylesheet" type="text/css" href="https://at.alicdn.com/t/font_408825_9pecp3wxz7z7u8fr.css"/>
		<link rel="stylesheet" type="text/css" href="../css/xxPublic.css"/>
		<link rel="stylesheet" type="text/css" href="../css/members.css"/>
	</head>
	<body>
		<ul class="addAddrList">
			<li class="goodFlex">
				<span class="mr10">输入旧支付密码</span>
				<div class="nameIpt goodCell">
					<input type="text" name="" id="" value="" placeholder="" />
				</div>
			</li>
			<li class="goodFlex">
				<span class="mr10">设置新支付密码</span>
				<div class="goodCell">
					<input type="text" name="" id="" value="" placeholder="字母数字组合" />
				</div>
			</li>
			<li class="goodFlex">
				<span class="mr10">确认新支付密码</span>
				<div class="goodCell">
					<input type="text" name="" id="" value="" placeholder="再次填写密码" />
				</div>
			</li>
		</ul>
		<div class="submitBut">
			<button>修改</button>
		</div>
		<script src="../js/jquery-3.2.1.min.js"></script>
		<script>
			$(function(){
				var defalut = false;
				$('#default').on('click',function(){
					if(!defalut){		//设为默认
						$(this).find('img').attr('src','../images/switchBtn2.png');
						defalut = true;
					}else{				//取消默认
						$(this).find('img').attr('src','../images/switchBtn.png');
						defalut = false;
					}
				});
			})
		</script>
	</body>
</html>
